package com.example.portdemo.service;

import com.example.portdemo.date.model.NewsEntity;
import com.example.portdemo.date.repository.NewsResponse;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

public interface NewsApiService {
    @GET("news")
    Call<NewsResponse> getNews();

    Call<List<NewsEntity>> getNewsList();
}
